package team.lourd.network.system.telecom.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import team.lourd.network.system.telecom.domain.Role;

import java.util.List;

/**
 * @Author: yuwenming
 * @Description:
 * @Date: Created in 10:14 2018/6/12
 */
@Repository
public interface RoleRepository extends JpaRepository<Role, Integer> {

    List<Role> findAllByAvailable(Integer available);

}
